﻿<%@ Page language="c#" Codebehind="SSearch.aspx.cs" Inherits="search.SSearch" %>
<%@ Register TagPrefix="SOW" TagName="Head" Src="Head.ascx"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>泉源网 — 经文搜索</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<LINK href="../springofwater.css" type="text/css" rel="stylesheet">
		<style>A.a1:link {
	COLOR: #cc0000
}
A.a1:visited {
	COLOR: #cc0000
}
A.a1:hover {
	COLOR: #ff0000; TEXT-DECORATION: none
}
A.a1:active {
	COLOR: #ff0000; TEXT-DECORATION: none
}
.textinput {
	WIDTH: 40px; TEXT-ALIGN: center
}
.selectinput {
	WIDTH: 260px
}
TD {
	FONT-SIZE: 12px
}
		</style>
		<script language="javascript">
			function checkinput(){
				if(!chk(document.all("TextBox2"))){
					return false;
				}
				if(!chk(document.all("TextBox3"))){
					return false;
				}
				if(!chk(document.all("TextBox4"))){
					return false;
				}
				if(!chk(document.all("TextBox5"))){
					return false;
				}
				return true;
			}
			
			function chk(obj){
				if(obj.value==''){
					alert("请输入经文章节！");
					obj.focus();
					return false;
				}
				return true;
			}

			function check2(evt){
				var charCode=(evt.which) ? evt.which : event.keyCode;
				if(charCode > 31 && (charCode < 48 || charCode > 57)){
					return false;
				}
				document.all("TextBox4").value = document.all("TextBox2").value
				return true;
			}
			function check3(evt){
				var charCode=(evt.which) ? evt.which : event.keyCode;
				if(charCode > 31 && (charCode < 48 || charCode > 57)){
					return false;
				}
				document.all("TextBox5").value = document.all("TextBox3").value
				return true;
			}
			function check45(evt){
				var charCode=(evt.which) ? evt.which : event.keyCode;
				if(charCode > 31 && (charCode < 48 || charCode > 57)){
					return false;
				}
				return true;
			}
		</script>
	</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">
			<SOW:HEAD id="Head1" runat="server"></SOW:HEAD>
			<TABLE id="Table2" cellSpacing="0" cellPadding="0" width="770" align="center" border="0">
				<TR>
					<TD style="FONT-SIZE: 12px" vAlign="middle" align="center" width="100%" bgColor="#5d9dd1"
						height="25">&nbsp; <FONT style="FONT-WEIGHT: bold; FONT-SIZE: 13px; COLOR: #ffff99" color="#ffffff">
							<b>经文搜索</b></FONT><FONT color="#ffffff">&nbsp;| </FONT><A href="TSearch.aspx"><FONT color="#ffffff">
								主题搜索</FONT></A><FONT color="#ffffff">&nbsp;| </FONT><A href="KeySearch.aspx">
							<FONT color="#ffffff">关键字搜索</FONT></A><FONT color="#ffffff">&nbsp;| </FONT><A href="AddArticle.aspx">
							<FONT color="#ffffff">发帖</FONT></A><asp:literal id="Literal_Admin" Runat="server"></asp:literal>
					</TD>
				</TR>
				<tr>
					<td bgColor="#ffffff" height="3"></td>
				</tr>
			</TABLE>
			<table style="BORDER-RIGHT: #696969 1px solid; BORDER-TOP: #696969 1px solid; BORDER-LEFT: #696969 1px solid; BORDER-BOTTOM: #696969 1px solid"
				cellSpacing="0" cellPadding="0" width="770" align="center" bgColor="#dcdcdc" border="0">
				<tr>
					<td style="PADDING-RIGHT: 50px; PADDING-LEFT: 50px; PADDING-TOP: 30px" vAlign="top"
						width="100%" height="500">
						<table cellSpacing="0" cellPadding="0" width="100%" border="0">
							<tr>
								<td noWrap width="60%" height="25"><asp:label id="Label_LeftResult" Runat="server"></asp:label></td>
								<td noWrap align="right" width="40%"><asp:label id="Label_RightResult" Runat="server"></asp:label></td>
							</tr>
							<tr>
								<td bgColor="#0033cc" colSpan="2" height="2"></td>
							</tr>
							<tr>
								<td align="center" width="100%" colSpan="2" height="60">
									<table cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
										<tr>
											<td style="FONT-SIZE: 12pt" noWrap height="30">经文</td>
											<td style="FONT-SIZE: 12pt" noWrap align="center" width="50">章</td>
											<td style="FONT-SIZE: 12pt" noWrap align="center" width="30">&nbsp;</td>
											<td style="FONT-SIZE: 12pt" noWrap align="center" width="50">节</td>
											<td style="FONT-SIZE: 12pt" noWrap align="center" width="50">&nbsp;</td>
											<td style="FONT-SIZE: 12pt" noWrap align="center" width="50">章</td>
											<td style="FONT-SIZE: 12pt" noWrap align="center" width="30">&nbsp;</td>
											<td style="FONT-SIZE: 12pt" noWrap align="center" width="50">节</td>
											<td width="100%"></td>
										</tr>
										<tr>
											<td noWrap height="30"><asp:dropdownlist id="DropDownList1" runat="server" Width="264px" Height="30px" Font-Size="14px" CssClass="selectinput"></asp:dropdownlist></td>
											<td align="center"><asp:textbox id="TextBox2" runat="server" Width="40px" Height="22px" CssClass="textinput" BorderStyle="Groove"
													BorderColor="#004000" BorderWidth="1px">1</asp:textbox></td>
											<td align="center">∶</td>
											<td align="center"><asp:textbox id="TextBox3" runat="server" Width="40px" Height="22px" CssClass="textinput" BorderStyle="Groove"
													BorderColor="#004000" BorderWidth="1px">1</asp:textbox></td>
											<td align="center">—</td>
											<td align="center"><asp:textbox id="TextBox4" runat="server" Width="40px" Height="22px" CssClass="textinput" BorderStyle="Groove"
													BorderColor="#004000" BorderWidth="1px">1</asp:textbox></td>
											<td align="center">∶</td>
											<td align="center"><asp:textbox id="TextBox5" runat="server" Width="40px" Height="22px" CssClass="textinput" BorderStyle="Groove"
													BorderColor="#004000" BorderWidth="1px">31</asp:textbox></td>
											<td align="right" width="100%"><asp:button id="Button_Submit" runat="server" Width="80px" Height="24px" Text="搜  索" OnClick="Button_Submit_Click1"></asp:button></td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td colSpan="2" height="15"></td>
							</tr>
							<tr>
								<td bgColor="#0033cc" colSpan="2" height="2"></td>
							</tr>
							<tr>
								<td colSpan="2" height="40">&nbsp;
									<table cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
										<tr>
											<td noWrap height="30">&nbsp;
												<asp:dropdownlist id="DropDownList_Page" runat="server" Visible="False" AutoPostBack="True"></asp:dropdownlist>&nbsp;&nbsp;
											</td>
											<td noWrap width="50"><asp:linkbutton id="LinkButton_Prepage" runat="server" Visible="False" OnClick="LinkButton_Prepage_Click1">上页</asp:linkbutton>&nbsp;</td>
											<td noWrap width="50"><asp:linkbutton id="Linkbutton_Nextpage" runat="server" Visible="False" OnClick="Linkbutton_Nextpage_Click1">下页</asp:linkbutton>&nbsp;</td>
											<td width="100%">&nbsp;</td>
										</tr>
									</table>
								</td>
							</tr>
							<tr>
								<td vAlign="top" colSpan="2" height="100"><asp:datalist id="DataList1" runat="server" Width="100%">
										<ItemTemplate>
											<asp:Literal id="Literal_Article" runat="server"></asp:Literal>
										</ItemTemplate>
									</asp:datalist></td>
							</tr>
							<tr>
								<td colSpan="2" height="15"></td>
							</tr>
							<tr>
								<td height="30">
									<table cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
										<tr>
											<td noWrap height="30">&nbsp;
												<asp:dropdownlist id="DropDownList_Pageb" runat="server" Visible="False" AutoPostBack="True"></asp:dropdownlist>&nbsp;&nbsp;
											</td>
											<td noWrap width="50"><asp:linkbutton id="LinkButton_PrepageB" runat="server" Visible="False" OnClick="LinkButton_PrepageB_Click1">上页</asp:linkbutton>&nbsp;</td>
											<td noWrap width="50"><asp:linkbutton id="LinkButton_NextpageB" runat="server" Visible="False" OnClick="LinkButton_NextpageB_Click1">下页</asp:linkbutton>&nbsp;</td>
											<td width="100%">&nbsp;</td>
										</tr>
									</table>
								</td>
								<td noWrap align="right"><asp:literal id="Literal_ScrollToTop" runat="server"></asp:literal></td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td height="15"></td>
				</tr>
			</table>
			<asp:literal id="Literal_script" runat="server"></asp:literal></form>
	</body>
</HTML>
